
var envConf = process.env.NODE_ENV === 'test' ?
  { targets: { node: 'current' } } :
  { modules: false }

module.exports = {
  presets: [
    ["@babel/env", envConf ]
  ],
  plugins: ["@babel/plugin-proposal-class-properties"]
}
